package com.wei.frame.di.module;

import com.wei.frame.di.scope.ActivityScope;
import com.wei.frame.mvp.IModel;
import com.wei.frame.mvp.IView;
import com.wei.frame.ui.activity.MainActivity;

import dagger.Binds;
import dagger.Module;
import dagger.Provides;

/**
 * 作者:赵若位
 * 时间:2021/7/5 14:14
 * 功能:
 */
@Module
public abstract class MainModule {

    @ActivityScope
    @Provides
    public static IModel providerModel() {
        return null;
    }

    @Binds
    abstract IView bindView(MainActivity activity);
}
